using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BankingLibrary
{
    public class AccountWithEvent
    {

        public event Log Logger;
       

        public void Withdraw(int amount)
        {
            if (amount > 10000)
            {
                if (Logger != null)
                {
                    Logger("More than 10000 withdrawn");
                }
            }
        }
    }
}
